package org.onionframework.persistence.dao.functions.date;

public class MYSQLDateFormatFunction extends AbstractDateFormatFunction {

	protected static final String[] MYSQL_DATABASE_PATTERNS = {
		null,
		"%Y","%m","%d",null,"%H","%i","%s",
		null,null,null,null,null,null,null,
		"%H"
	};
	
	@Override
	protected Object getFunctionName() {
		return "date_format";
	}
	
	@Override
	protected String[] getDatabasePatterns() {
		return MYSQL_DATABASE_PATTERNS;
	}

}
